/*
 * @Author: qinuoyun
 * @Date:   2019-10-30 10:12:26
 * @Last Modified by:   wiki
 * @Last Modified time: 2019-11-27 18:15:34
 */

import attribute from './attribute'

import content from './index.vue'

import dataBind from '../../../plugins/data-bind'

import tool from '../../../plugins/components-tool/'

export default {
  data: {
    /**
     * @placeholder 占位提示符
     * @disabled   是否禁用
     * @clearable  是否开启清空
     * @multiple   是否开启多选
     * @group      是否开启分组
     * @filterable 是否支持搜索
     * @source     选项来源
     * @options    选项内容
     * @type {Object}
     */
    size:"medium",
    placeholder:'请选择内容',
    disabled:false,
    clearable:true,
    multiple:false,
    group:false,
    filterable:true,
    source:true,
    options:[{
      title:"",
      item:[]
    }],
    gather: '',
    fields: ''
  },
  components: content,
  attributes: [{
    title: "设置属性",
    components: attribute,
    tool: tool
  }, {
    title: "数据绑定",
    components: dataBind,
    tool: false
  }],
  regulation: {
    amount: 24,
    scope: ['-row','-body']
  },
  slot: [

  ],
  name:'select',
  title: '下拉选框',
  icon: 'el-icon-eleme'
}
